#ifndef WIDGETINTERFACE_H
#define WIDGETINTERFACE_H

#include <QString>
#include <QMap>
#include "databackend.h"

class WidgetInterface
{
  public:
    virtual ~WidgetInterface() {}
    virtual QString identifier() = 0;
    virtual uint features() = 0;
    virtual void init(QMap<QString,DataBackend> * backends) = 0;
};

Q_DECLARE_INTERFACE(WidgetInterface,"tsmpc.WidgetInterface")

#endif // WIDGETINTERFACE_H
